package com.cheyun.netsalev3.bean

import androidx.databinding.BaseObservable
import androidx.databinding.Bindable
import com.cheyun.netsalev3.BR
import java.io.Serializable

data class EditClueParam(
        var nkey: String,
        var tid: String,
        var uname: String,
        var phone: String,
        var sex: String,
        var infotype: String,
        var infoplace: String,
        var infosource: String,
//        var brand: String,
        var series: String,
        var spec: String,
//        var exterior: String,
//        var interior: String,
        var province: String,
        var provincegroup: String,
        var county: String,
//        var ibuytime:String,
//        var followprice:String,
//        var licenceplate:String,
//        var slogan:String,
        var customertype:String,
//        var purchasetype:String,
//        var demand:String,
//        var sparephone:String,
//        var weixin:String,
        var pbrand:String,
        var pseries:String,
        var address:String,
//        var tracktag:String,
//        var phoneaddr:String,
        var competitor:String,
//        var cert_image_url:String,
//        var tracktag_offline:String,
//        var tracktag_online:String,
//        var gplace:String,
//        var isapp:Int = 0,
//        var appminiorder:Int = 0,
//        var xphone:String = "",
        var effective:String = "",
        var followstate:String = "",
        var customerlevel:String = "",
        var connectway:String = "",
        var followinfo:String = "",
        var remindetime:String = "",
        var brandgroup:String = "",
        var secssgroup:String = "",
        var ncway:String = "",
        var labels:String = "",
        var userlabels:String = "",
        var arrivetime:String = "",
        var followtime:String = "",
        var giveupcause:String = "",
        var failurereason:String = ""

) : BaseObservable(), Serializable {
    //有效性
    @get:Bindable
    var effectivename: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.effectivename)
        }
    //线索类型名称
    @get:Bindable
    var infotypename: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.infotypename)
        }
    //信息渠道名称
    @get:Bindable
    var infoplacename: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.infoplacename)
        }
    //信息来源名称
    @get:Bindable
    var infosourcename: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.infosourcename)
        }
//    //拟购车辆颜色：
//    @get:Bindable
//    var exteriorname: String = ""
//        set(value) {
//            field = value
//            notifyPropertyChanged(BR.exteriorname)
//        }
//    //拟购内饰颜色：
//    @get:Bindable
//    var interiorname: String = ""
//        set(value) {
//            field = value
//            notifyPropertyChanged(BR.interiorname)
//        }
//    @get:Bindable
//    var ibuytimename: String = ""
//        set(value) {
//            field = value
//            notifyPropertyChanged(BR.ibuytimename)
//        }
//    @get:Bindable
//    var licenceplatename: String = ""
//        set(value) {
//            field = value
//            notifyPropertyChanged(BR.licenceplatename)
//        }
    @get:Bindable
    var customertypename: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.customertypename)
        }
//    @get:Bindable
//    var purchasetypename: String = ""
//        set(value) {
//            field = value
//            notifyPropertyChanged(BR.purchasetypename)
//        }

//    @get:Bindable
//    var tracktagname: String = ""
//        set(value) {
//            field = value
//            notifyPropertyChanged(BR.tracktagname)
//        }
    @get:Bindable
    var competitorname: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.competitorname)
        }
    //跟进状态名称
    @get:Bindable
    var followstatename: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.followstatename)
        }
    //意向级别名称
    @get:Bindable
    var customerlevelname: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.customerlevelname)
        }
    //到店状态名称
    @get:Bindable
    var connectwayname: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.connectwayname)
        }
    //下次跟进方式名称
    @get:Bindable
    var ncwayname: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.ncwayname)
        }

    //战败原因名称
    @get:Bindable
    var giveupcausename: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.giveupcausename)
        }

    //拟购品牌：
    var ebrandname: String = ""
    //拟购车系：
    var eseriesname: String = ""
    //拟购车型：
    var especname: String = ""

    //意向车系：
    var seriesname: String = ""
    //意向车型：
    var specname: String = ""

    //城市：
    var cityname: String = ""

    var countyname :String = ""

    //现用品牌 ：
    var pbrandname: String = ""
    //现用车系：
    var pseriesname: String = ""

    constructor() : this(
            "",
            "",
            "",
            "",
            "1",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
    )


}